feat: add Java dynamic dedup sample#130
Open
officialasishkumar wants to merge 10 commits intokeploy:mainfrom
Open
feat: add Java dynamic dedup sample#130officialasishkumar wants to merge 10 commits intokeploy:mainfrom
officialasishkumar wants to merge 10 commits intokeploy:mainfrom
Conversation
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Member
Author
|
Upstream tracking issue: keploy/enterprise#1920 |
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
6 tasks
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
This was referenced Apr 24, 2026
AkashKumar7902
approved these changes
Apr 25, 2026
12 tasks
- Update Dockerfile entrypoint to load jacocoagent.jar without output=tcpserver, address, or port options. The Java SDK now reads coverage in-process via JaCoCo's runtime API. - Rewrite README to cover dedup mode for native, Docker, and restricted Docker without --pass-through-ports. Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
- Trim the README to only cover running the sample in dedup mode for native, Docker, and restricted Docker. - Drop generic build/recording sections; the sample is replay-only and CI does not record. Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Description
Adds and commits the
java-dedupsample app fixtures for Enterprise Java dynamic dedup replay validation.The sample mirrors the Go dedup validation shape with 1000 committed Keploy tests split across four testsets of 250 tests each. CI does not run record mode for this path; it only replays these checked-in fixtures with
keploy test --dedupto keep runtime predictable and save CI time.The sample no longer requires JaCoCo TCP server mode or
--pass-through-ports. The Java SDK now reads JaCoCo coverage in-process via the runtime API, so the Dockerfile entrypoint loadsjacocoagent.jarwith no extra options and the README documents native, Docker, and restricted Docker dedup workflows with the simplified flags.Related issue: keploy/enterprise#1920
Related PRs: keploy/java-sdk#181, keploy/enterprise#1912, keploy/docs#839
Type of change
How Has This Been Tested?
mvn -B -DskipTests clean packageinjava-dedup.keploy test --dedup --language java: 1000 successes, 0 failures.keploy test -c "docker compose up" --container-name "dedup-java" --dedup --language java --delay 20: 1000 successes, 0 failures (no--pass-through-portsrequired).dedupData.yamlandduplicates.yamlare produced locally but ignored and not committed.No unit tests were added by request; this sample is covered by replay and Enterprise pipeline validation.
Additional Context (Please include any Screenshots/gifs if relevant)
The Enterprise PR uses this branch from Woodpecker via
SAMPLES_JAVA_REPO=https://github.com/officialasishkumar/samples-java.gitandSAMPLES_JAVA_REF=codex/java-dedup-sample. The pipeline covers native, Docker, and restricted Docker modes across Java 8, 17, and 21 without recording.Checklist: